/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/*
 * Frm_Index_Administrador.java
 *
 * Created on 19-ene-2013, 0:53:57
 */
package VISTA;

import java.awt.Image;
import java.awt.Toolkit;


/**
 *
 * @author CiberPulpo
 */
public class Frm_Index_Administrador extends javax.swing.JFrame {

    /** Creates new form Frm_Index_Administrador */
    public Frm_Index_Administrador() {
        initComponents();
    }
    
    @Override
    public Image getIconImage() {
        Image retValue = Toolkit.getDefaultToolkit().
        getImage(ClassLoader.getSystemResource("IMG/minsa.png"));
        return retValue;
    }

    /** This method is called from within the constructor to
     * initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is
     * always regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        jcMousePanel1 = new jcMousePanel.jcMousePanel();
        jDesktopPane1 = new javax.swing.JDesktopPane();
        jToolBar1 = new javax.swing.JToolBar();
        jLabel1 = new javax.swing.JLabel();
        jMenuBar1 = new javax.swing.JMenuBar();
        jMenu1 = new javax.swing.JMenu();
        btnMenu_Cerrar_Sesion = new javax.swing.JMenuItem();
        MenuMantenimiento = new javax.swing.JMenu();
        btnMenu_Redes = new javax.swing.JMenuItem();
        btnMenu_Microredes = new javax.swing.JMenuItem();
        btnMenu_CategoriaEstablecimiento = new javax.swing.JMenuItem();
        btnMenu_Establecimiento = new javax.swing.JMenuItem();
        btnMenu_UnidadEjecutora = new javax.swing.JMenuItem();
        btnMenu_CategoriaFon = new javax.swing.JMenuItem();
        btnMenu_Departamento = new javax.swing.JMenuItem();
        btnMenu_Provincia = new javax.swing.JMenuItem();
        btnMenu_Distrito = new javax.swing.JMenuItem();
        btnMenu_usuario = new javax.swing.JMenuItem();
        btnMenu_Fila = new javax.swing.JMenuItem();
        btnMenu_Columna = new javax.swing.JMenuItem();
        jMenu3 = new javax.swing.JMenu();
        btnMenu_Resumen_Diresa = new javax.swing.JMenuItem();
        btnMenu_EliminarRegDesac = new javax.swing.JMenuItem();
        btnMenuImport_Informacion = new javax.swing.JMenuItem();
        jMenu2 = new javax.swing.JMenu();
        btntema = new javax.swing.JMenuItem();
        jMenu4 = new javax.swing.JMenu();
        btnMenuInsertar_Informacion = new javax.swing.JMenuItem();
        btnMenu_Ayuda_Acerca = new javax.swing.JMenuItem();

        setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
        setIconImage(getIconImage());

        jcMousePanel1.setIcon(new javax.swing.ImageIcon(getClass().getResource("/IMG/fondopro.jpg"))); // NOI18N
        jcMousePanel1.setIconLogo(new javax.swing.ImageIcon(getClass().getResource("/IMG/diresa.png"))); // NOI18N
        jcMousePanel1.setPosicionLogo(new java.awt.Point(10, 200));

        jDesktopPane1.setBackground(new java.awt.Color(214, 255, 174));
        jDesktopPane1.setToolTipText("");
        jDesktopPane1.setOpaque(false);

        javax.swing.GroupLayout jcMousePanel1Layout = new javax.swing.GroupLayout(jcMousePanel1);
        jcMousePanel1.setLayout(jcMousePanel1Layout);
        jcMousePanel1Layout.setHorizontalGroup(
            jcMousePanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jDesktopPane1, javax.swing.GroupLayout.DEFAULT_SIZE, 1024, Short.MAX_VALUE)
        );
        jcMousePanel1Layout.setVerticalGroup(
            jcMousePanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jDesktopPane1, javax.swing.GroupLayout.DEFAULT_SIZE, 644, Short.MAX_VALUE)
        );

        jToolBar1.setBackground(new java.awt.Color(204, 255, 153));
        jToolBar1.setRollover(true);

        jLabel1.setFont(new java.awt.Font("Tahoma", 1, 11)); // NOI18N
        jLabel1.setText("PROYECTO CREADO POR ESTUDIANTES DE LA FACULTAD DE ING. DE SISTEMAS - \"UNIVERSIDAD SAN LUIS GONZAGA DE ICA\" :    **Almeyda Lévano Irving Pool**Sotomayor Parián Samuel**Quispe Palomino Augusto**");
        jLabel1.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                jLabel1MouseClicked(evt);
            }
        });
        jToolBar1.add(jLabel1);

        jMenuBar1.setBackground(new java.awt.Color(153, 255, 255));

        jMenu1.setText("Archivo");

        btnMenu_Cerrar_Sesion.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_ESCAPE, 0));
        btnMenu_Cerrar_Sesion.setBackground(new java.awt.Color(255, 153, 153));
        btnMenu_Cerrar_Sesion.setText("Cerrar Sesión");
        jMenu1.add(btnMenu_Cerrar_Sesion);

        jMenuBar1.add(jMenu1);

        MenuMantenimiento.setText("Mantenimiento");

        btnMenu_Redes.setBackground(new java.awt.Color(204, 255, 153));
        btnMenu_Redes.setText("Redes");
        MenuMantenimiento.add(btnMenu_Redes);

        btnMenu_Microredes.setBackground(new java.awt.Color(204, 255, 153));
        btnMenu_Microredes.setText("Microredes");
        MenuMantenimiento.add(btnMenu_Microredes);

        btnMenu_CategoriaEstablecimiento.setBackground(new java.awt.Color(204, 255, 153));
        btnMenu_CategoriaEstablecimiento.setText("Categoria De Establecimiento");
        MenuMantenimiento.add(btnMenu_CategoriaEstablecimiento);

        btnMenu_Establecimiento.setBackground(new java.awt.Color(204, 255, 153));
        btnMenu_Establecimiento.setText("Establecimiento");
        MenuMantenimiento.add(btnMenu_Establecimiento);

        btnMenu_UnidadEjecutora.setBackground(new java.awt.Color(204, 255, 153));
        btnMenu_UnidadEjecutora.setText("Unidad Ejecutora");
        btnMenu_UnidadEjecutora.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnMenu_UnidadEjecutoraActionPerformed(evt);
            }
        });
        MenuMantenimiento.add(btnMenu_UnidadEjecutora);

        btnMenu_CategoriaFon.setBackground(new java.awt.Color(204, 255, 153));
        btnMenu_CategoriaFon.setText("FON");
        MenuMantenimiento.add(btnMenu_CategoriaFon);

        btnMenu_Departamento.setBackground(new java.awt.Color(204, 255, 153));
        btnMenu_Departamento.setText("Departamento");
        MenuMantenimiento.add(btnMenu_Departamento);

        btnMenu_Provincia.setBackground(new java.awt.Color(204, 255, 153));
        btnMenu_Provincia.setText("Provincia");
        MenuMantenimiento.add(btnMenu_Provincia);

        btnMenu_Distrito.setBackground(new java.awt.Color(204, 255, 153));
        btnMenu_Distrito.setText("Distrito");
        MenuMantenimiento.add(btnMenu_Distrito);

        btnMenu_usuario.setBackground(new java.awt.Color(204, 255, 153));
        btnMenu_usuario.setText("Usuario");
        MenuMantenimiento.add(btnMenu_usuario);

        btnMenu_Fila.setBackground(new java.awt.Color(204, 255, 153));
        btnMenu_Fila.setText("Fila");
        MenuMantenimiento.add(btnMenu_Fila);

        btnMenu_Columna.setBackground(new java.awt.Color(204, 255, 153));
        btnMenu_Columna.setText("Columna");
        MenuMantenimiento.add(btnMenu_Columna);

        jMenuBar1.add(MenuMantenimiento);

        jMenu3.setText("Reporte");

        btnMenu_Resumen_Diresa.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_N, java.awt.event.InputEvent.CTRL_MASK));
        btnMenu_Resumen_Diresa.setBackground(new java.awt.Color(255, 253, 176));
        btnMenu_Resumen_Diresa.setText("Resumen DIRESA");
        jMenu3.add(btnMenu_Resumen_Diresa);

        btnMenu_EliminarRegDesac.setText("Eliminar Registros Desactualizados");
        btnMenu_EliminarRegDesac.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnMenu_EliminarRegDesacActionPerformed(evt);
            }
        });
        jMenu3.add(btnMenu_EliminarRegDesac);

        btnMenuImport_Informacion.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_A, java.awt.event.InputEvent.CTRL_MASK));
        btnMenuImport_Informacion.setBackground(new java.awt.Color(255, 253, 176));
        btnMenuImport_Informacion.setText("Insertar Información");
        btnMenuImport_Informacion.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnMenuImport_InformacionActionPerformed(evt);
            }
        });
        jMenu3.add(btnMenuImport_Informacion);

        jMenuBar1.add(jMenu3);

        jMenu2.setText("Configuración");

        btntema.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_T, java.awt.event.InputEvent.CTRL_MASK));
        btntema.setBackground(new java.awt.Color(255, 204, 51));
        btntema.setText("Temas");
        btntema.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btntemaActionPerformed(evt);
            }
        });
        jMenu2.add(btntema);

        jMenuBar1.add(jMenu2);

        jMenu4.setText("Ayuda");

        btnMenuInsertar_Informacion.setBackground(new java.awt.Color(255, 213, 227));
        btnMenuInsertar_Informacion.setText("Tutorial de Videos");
        jMenu4.add(btnMenuInsertar_Informacion);

        btnMenu_Ayuda_Acerca.setBackground(new java.awt.Color(255, 213, 227));
        btnMenu_Ayuda_Acerca.setText("Acerca De");
        jMenu4.add(btnMenu_Ayuda_Acerca);

        jMenuBar1.add(jMenu4);

        setJMenuBar(jMenuBar1);

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
        getContentPane().setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jcMousePanel1, javax.swing.GroupLayout.DEFAULT_SIZE, 1024, Short.MAX_VALUE)
            .addComponent(jToolBar1, javax.swing.GroupLayout.PREFERRED_SIZE, 1024, Short.MAX_VALUE)
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
                .addComponent(jcMousePanel1, javax.swing.GroupLayout.DEFAULT_SIZE, 644, Short.MAX_VALUE)
                .addGap(1, 1, 1)
                .addComponent(jToolBar1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
        );

        pack();
    }// </editor-fold>//GEN-END:initComponents

    private void btnMenuImport_InformacionActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnMenuImport_InformacionActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_btnMenuImport_InformacionActionPerformed

private void jLabel1MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jLabel1MouseClicked
    Nosotros Nosotros = new Nosotros();
    jDesktopPane1.add(Nosotros);
    Nosotros.show();
    Nosotros.setLocation(150, 130);
}//GEN-LAST:event_jLabel1MouseClicked

    private void btnMenu_UnidadEjecutoraActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnMenu_UnidadEjecutoraActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_btnMenu_UnidadEjecutoraActionPerformed

    private void btnMenu_EliminarRegDesacActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnMenu_EliminarRegDesacActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_btnMenu_EliminarRegDesacActionPerformed

    private void btntemaActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btntemaActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_btntemaActionPerformed

    /**
     * @param args the command line arguments
     */
    public static void main(String args[]) {
        /* Set the Nimbus look and feel */
        //<editor-fold defaultstate="collapsed" desc=" Look and feel setting code (optional) ">
        /* If Nimbus (introduced in Java SE 6) is not available, stay with the default look and feel.
         * For details see http://download.oracle.com/javase/tutorial/uiswing/lookandfeel/plaf.html 
         */
        try {
            for (javax.swing.UIManager.LookAndFeelInfo info : javax.swing.UIManager.getInstalledLookAndFeels()) {
                if ("Nimbus".equals(info.getName())) {
                    javax.swing.UIManager.setLookAndFeel(info.getClassName());
                    break;
                }
            }
        } catch (ClassNotFoundException ex) {
            java.util.logging.Logger.getLogger(Frm_Index_Administrador.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (InstantiationException ex) {
            java.util.logging.Logger.getLogger(Frm_Index_Administrador.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (IllegalAccessException ex) {
            java.util.logging.Logger.getLogger(Frm_Index_Administrador.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (javax.swing.UnsupportedLookAndFeelException ex) {
            java.util.logging.Logger.getLogger(Frm_Index_Administrador.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        }
        //</editor-fold>

        /* Create and display the form */
        java.awt.EventQueue.invokeLater(new Runnable() {

            public void run() {
                new Frm_Index_Administrador().setVisible(true);
            }
        });
    }
    // Variables declaration - do not modify//GEN-BEGIN:variables
    public javax.swing.JMenu MenuMantenimiento;
    public javax.swing.JMenuItem btnMenuImport_Informacion;
    private javax.swing.JMenuItem btnMenuInsertar_Informacion;
    public javax.swing.JMenuItem btnMenu_Ayuda_Acerca;
    public javax.swing.JMenuItem btnMenu_CategoriaEstablecimiento;
    public javax.swing.JMenuItem btnMenu_CategoriaFon;
    public javax.swing.JMenuItem btnMenu_Cerrar_Sesion;
    public javax.swing.JMenuItem btnMenu_Columna;
    public javax.swing.JMenuItem btnMenu_Departamento;
    public javax.swing.JMenuItem btnMenu_Distrito;
    public javax.swing.JMenuItem btnMenu_EliminarRegDesac;
    public javax.swing.JMenuItem btnMenu_Establecimiento;
    public javax.swing.JMenuItem btnMenu_Fila;
    public javax.swing.JMenuItem btnMenu_Microredes;
    public javax.swing.JMenuItem btnMenu_Provincia;
    public javax.swing.JMenuItem btnMenu_Redes;
    public javax.swing.JMenuItem btnMenu_Resumen_Diresa;
    public javax.swing.JMenuItem btnMenu_UnidadEjecutora;
    public javax.swing.JMenuItem btnMenu_usuario;
    public javax.swing.JMenuItem btntema;
    public javax.swing.JDesktopPane jDesktopPane1;
    private javax.swing.JLabel jLabel1;
    private javax.swing.JMenu jMenu1;
    private javax.swing.JMenu jMenu2;
    private javax.swing.JMenu jMenu3;
    private javax.swing.JMenu jMenu4;
    public javax.swing.JMenuBar jMenuBar1;
    private javax.swing.JToolBar jToolBar1;
    private jcMousePanel.jcMousePanel jcMousePanel1;
    // End of variables declaration//GEN-END:variables
}
